package com.mall.server.service.oms;

import com.mall.dubbo.api.OmsCompanyAddressApi;
import com.mall.model.domain.OmsCompanyAddress;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author : xyiaao
 * @createDate : 2022/4/2 20:57
 */
@Service
public class OmsCompanyAddressService {

    @DubboReference
    private OmsCompanyAddressApi omsCompanyAddressApi;


    public List<OmsCompanyAddress> list() {

        return omsCompanyAddressApi.list();
    }

}
